import QtQuick

Item {
    id: locationCompensation_Page_2_back
    width: 1760
    height: 935

    property real fontSize: Cpp_Language.CurrentLanguage === 1 ? 40 : Cpp_Language.CurrentLanguage === 2 ? 25 : Cpp_Language.CurrentLanguage === 3 ? 25 : 40
    property real lableFontSize: Cpp_Language.CurrentLanguage === 1 ? 40 : Cpp_Language.CurrentLanguage === 2 ? 25 : Cpp_Language.CurrentLanguage === 3 ? 25 : 50

    A_NumberKeyboard{
        id: locationParameterKeyboard_2
        isDirectOverwrite: false
    }

    Column{         // 左侧列表
        anchors.left: locationCompensation_Page_2_back.left
        anchors.leftMargin: 20
        anchors.top: locationCompensation_Page_2_back.top
        anchors.topMargin: 20

        spacing: 10

        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "5250"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_21

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1342,value)
                }
            }
        }
        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "5500"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_22

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1344,value)
                }
            }
        }
        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "5750"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_23

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1346,value)
                }
            }
        }
        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "6000"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_24

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1348,value)
                }
            }
        }
        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "6250"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_25

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1350,value)
                }
            }
        }
        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "6500"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_26

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1352,value)
                }
            }
        }
        Item{
            width: 500
            height: 80

            Rectangle{
                width: 200
                height: 80
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                color: "transparent"

                Text{
                    anchors.centerIn: parent
                    font.pixelSize: fontSize
                    font.bold: true
                    text: "6750"
                }

            }

            A_NumberInput{
                anchors.verticalCenter: parent.verticalCenter
                anchors.left: parent.left
                anchors.leftMargin: 200
                inputWidth: 300
                inputHeight: 80
                keyboard: locationParameterKeyboard_2
                text: Cpp_PLC.Location_Compensate_27

                onEditingFinished: function(value){
                    Cpp_PLC.write_into_PLC_32_Hold(1354,value)
                }
            }
        }



    }







}
